FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultStyleCollection Class > CopyTo Method : CopyTo(NamedStyle[],Int32) Method |
'Declaration Public Overloads Sub CopyTo( _ ByVal array() As NamedStyle, _ ByVal index As Integer _ )
'Usage Dim instance As DefaultStyleCollection Dim array() As NamedStyle Dim index As Integer instance.CopyTo(array, index)
public void CopyTo( NamedStyle[] array, int index )
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection(); FarPoint.Web.Spread.NamedStyle[] style = new FarPoint.Web.Spread.NamedStyle[dsc.Count]; dsc.CopyTo((Array)style,0);
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection() Dim style(dsc.Count()) As FarPoint.Web.Spread.NamedStyle dsc.CopyTo(CType(style, Array), 0)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6